package me.firstapp.repository.bbs;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.bbs.Section;
import me.firstapp.repository.base.EntityRepository;

public interface SectionRepository extends EntityRepository<Section> {
	
	Section findSectionById(Long id, Long apiClientId);

	List<Section> findSections(Long apiClientId);

	Page<Section> findSectionPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams, String sortParam,
			String sortType, Long apiClientId);
}
